const adminStatement = require("../../common/sql_sentences/administrator")

exports.getAdminList = async (req, res) => {
  try {
    // 获取管理员列表
    sqlStr = adminStatement.selectLimit({ permission: 0 }, 'job_number, name')
    results = await RunSQL(sqlStr)

    return res.successSend("", 10000, results)
  } catch (error) {
    res.errSend(error)
  }
}
